import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MapCrossCityIncomeInfoHelper } from "./MapCrossCityIncomeInfoHelper";
type int = number;
//class SCrossCityIncomeInfo
    
    export  class SCrossCityIncomeInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SCrossCityIncomeInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            MapCrossCityIncomeInfoHelper.write(arg1, this.thisWeekInfo);
            MapCrossCityIncomeInfoHelper.write(arg1, this.lastWeekInfo);
            MapCrossCityIncomeInfoHelper.write(arg1, this.beforeLastWeekInfo);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.thisWeekInfo = MapCrossCityIncomeInfoHelper.read(arg1);
            this.lastWeekInfo = MapCrossCityIncomeInfoHelper.read(arg1);
            this.beforeLastWeekInfo = MapCrossCityIncomeInfoHelper.read(arg1);
            return;
        }

        public /* const */_type: int=744;

        public /* var */thisWeekInfo: Map<any, any> /* flash.utils.Dictionary */;

        public /* var */lastWeekInfo: Map<any, any> /* flash.utils.Dictionary */;

        public /* var */beforeLastWeekInfo: Map<any, any> /* flash.utils.Dictionary */;

        public static /* var */_regist: SCrossCityIncomeInfo;
    }

            SCrossCityIncomeInfo._regist = new SCrossCityIncomeInfo(true);
        